home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>2</cardCount>
- <cardID>3049</cardID>
- <listID>4752</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on closeStack
- global whosThere
- put "Have Yourself a SUPER GOOD DAY" && whosThere && "!" into message box
- doMenu "Compact Stack"
- RemShow Meo
- show menubar
- hide message box
- visual effect zoom out
- end closeStack
-
-
-
- on update theDate
- global whosThere
- ask "What is your name, Please?" with field id 26
- put it into field id 26
- put it into whosThere
- put the long date into field id 5 of card id 3049
- theSchedule schedule
- end update
-
-
-
- on theSchedule schedule
- set cursor to 4
- put empty into field id 6
- put empty into field id 7
- put empty into field id 8
- put empty into field id 9
- put empty into field id 10
- put empty into field id 11
- put empty into field id 12
- put empty into field id 13
- put empty into field id 14
- put empty into field id 15
- put empty into field id 16
- put empty into field id 17
- put empty into field id 30 --field "Links" is a hidden field
- get field id 5
- convert it to seconds
- put it into thisDay
- put 1 into lineNumber
- repeat with x = 2 to (the number of cards)
- get (field id 2 of card x) --field "Date"
- if it is empty then next repeat
- convert it to seconds
- if it = thisDay then
- put (the id of card x) into line lineNumber of field "Links"
- add 1 to lineNumber
- get field id 47 of card x --field "My Name"
- if it = field id 26 of card id 3049 then
- get field id 43 of card x --field "Appointment Time"
- put it into apptTime
- get field id 1 of card x --field "ClientName"
- put it into temp2
- put the number of chars of temp2 into countChar
- put 37 into maxChar
- subtract countChar from maxChar
- get field id 6 of card x --field "ApptDetails"
- put it into temp3
- put "," after char maxChar of temp3
- put empty into item 2 of temp3
- put empty into last char of temp3
- get apptTime --a variable holding the appointment time.
- if it ≥ 0900 and it ≤ 0914 or it ≥ 900 and it ≤ 914¬
- or it = 9 then
- put temp2 && "—" & temp3 into line 1 of field id 6
- else
- if it ‚â• 0915 and it ‚â§ 0929 or it ‚â• 915 and it ‚â§ 929 then
- put temp2 && "—" & temp3 into line 2 of field id 6
- else
- if it ‚â• 0930 and it ‚â§ 0944 or it ‚â• 930 and it ‚â§ 944 then
- put temp2 && "—" & temp3 into line 3 of field id 6
- else
- if it ‚â• 0945 and it ‚â§ 0959 or it ‚â• 945 and it ‚â§ 959 then
- put temp2 && "—" & temp3 into line 4 of field id 6
- else
- if it ‚â• 1000 and it ‚â§ 1014 or it = 10 then
- put temp2 && "—" & temp3 into line 1 of field id 7
- else
- if it ‚â• 1015 and it ‚â§ 1029 then
- put temp2 && "—" & temp3 into line 2 of field id 7
- else
- if it ‚â• 1030 and it ‚â§ 1044 then
- put temp2 && "—" & temp3 into line 3 of field id 7
- else
- if it ‚â• 1045 and it ‚â§ 1059 then
- put temp2 && "—" & temp3 into line 4 of field id 7
- else
- if it ‚â• 1100 and it ‚â§ 1114 or it = 11 then
- put temp2 && "—" & temp3 into line 1 of field id 8
- else
- if it ‚â• 1115 and it ‚â§ 1129 then
- put temp2 && "—" & temp3 into line 2 of field id 8
- else
- if it ‚â• 1130 and it ‚â§ 1144 then
- put temp2 && "—" & temp3 into line 3 of field id 8
- else
- if it ‚â• 1145 and it ‚â§ 1159 then
- put temp2 && "—" & temp3 into line 4 of field id 8
- else
- if it ‚â• 1200 and it ‚â§ 1214 or it = 12 then
- put temp2 && "—" & temp3 into line 1 of field id 9
- else
- if it ‚â• 1215 and it ‚â§ 1229 then
- put temp2 && "—" & temp3 into line 2 of field id 9
- else
- if it ‚â• 1230 and it ‚â§ 1244 then
- put temp2 && "—" & temp3 into line 3 of field id 9
- else
- if it ‚â• 1245 and it ‚â§ 1259 then
- put temp2 && "—" & temp3 into line 4 of field id 9
- else
- if it ‚â• 100 and it ‚â§ 114 or it ‚â• 1300 and it ‚â§ 1314 or it = 1 then
- put temp2 && "—" & temp3 into line 1 of field id 10
- else
- if it ‚â• 115 and it ‚â§ 129 or it ‚â• 1315 and it ‚â§ 1329 then
- put temp2 && "—" & temp3 into line 2 of field id 10
- else
- if it ‚â• 130 and it ‚â§ 144 or it ‚â• 1330 and it ‚â§ 1344 then
- put temp2 && "—" & temp3 into line 3 of field id 10
- else
- if it ‚â• 145 and it ‚â§ 159 or it ‚â• 1345 and it ‚â§ 1359 then
- put temp2 && "—" & temp3 into line 4 of field id 10
- else
- if it ‚â• 200 and it ‚â§ 214 or it ‚â• 1400 and it ‚â§ 1414 or it = 2 then
- put temp2 && "—" & temp3 into line 1 of field id 11
- else
- if it ‚â• 215 and it ‚â§ 229 or it ‚â• 1415 and it ‚â§ 1429 then
- put temp2 && "—" & temp3 into line 2 of field id 11
- else
- if it ‚â• 230 and it ‚â§ 244 or it ‚â• 1430 and it ‚â§ 1444 then
- put temp2 && "—" & temp3 into line 3 of field id 11
- else
- if it ‚â• 245 and it ‚â§ 259 or it ‚â• 1445 and it ‚â§ 1459 then
- put temp2 && "—" & temp3 into line 4 of field id 11
- else
- if it ‚â• 300 and it ‚â§ 314 or it ‚â• 1500 and it ‚â§ 1514 or it = 3 then
- put temp2 && "—" & temp3 into line 1 of field id 12
- else
- if it ‚â• 315 and it ‚â§ 329 or it ‚â• 1515 and it ‚â§ 1529 then
- put temp2 && "—" & temp3 into line 2 of field id 12
- else
- if it ‚â• 330 and it ‚â§ 344 or it ‚â• 1530 and it ‚â§ 1544 then
- put temp2 && "—" & temp3 into line 3 of field id 12
- else
- if it ‚â• 345 and it ‚â§ 359 or it ‚â• 1545 and it ‚â§ 1559 then
- put temp2 && "—" & temp3 into line 4 of field id 12
- else
- if it ‚â• 400 and it ‚â§ 414 or it ‚â• 1600 and it ‚â§ 1614 or it = 4 then
- put temp2 && "—" & temp3 into line 1 of field id 13
- else
- if it ‚â• 415 and it ‚â§ 429 or it ‚â• 1615 and it ‚â§ 1629 then
- put temp2 && "—" & temp3 into line 2 of field id 13
- else
- if it ‚â• 430 and it ‚â§ 444 or it ‚â• 1630 and it ‚â§ 1644 then
- put temp2 && "—" & temp3 into line 2 of field id 13
- else
- if it ‚â• 445 and it ‚â§ 459 or it ‚â• 1645 and it ‚â§ 1659 then
- put temp2 && "—" & temp3 into line 4 of field id 13
- else
- if it ‚â• 500 and it ‚â§ 514 or it ‚â• 1700 and it ‚â§ 1714 or it = 5 then
- put temp2 && "—" & temp3 into line 1 of field id 14
- else
- if it ‚â• 515 and it ‚â§ 529 or it ‚â• 1715 and it ‚â§ 1729 then
- put temp2 && "—" & temp3 into line 2 of field id 14
- else
- if it ‚â• 530 and it ‚â§ 544 or it ‚â• 1730 and it ‚â§ 1744 then
- put temp2 && "—" & temp3 into line 3 of field id 14
- else
- if it ‚â• 545 and it ‚â§ 559 or it ‚â• 1745 and it ‚â§ 1759 then
- put temp2 && "—" & temp3 into line 4 of field id 14
- else
- if it ‚â• 600 and it ‚â§ 614 or it ‚â• 1800 and it ‚â§ 1814 or it = 6 then
- put temp2 && "—" & temp3 into line 1 of field id 15
- else
- if it ‚â• 615 and it ‚â§ 629 or it ‚â• 1815 and it ‚â§ 1829 then
- put temp2 && "—" & temp3 into line 2 of field id 15
- else
- if it ‚â• 630 and it ‚â§ 644 or it ‚â• 1830 and it ‚â§ 1844 then
- put temp2 && "—" & temp3 into line 3 of field id 15
- else
- if it ‚â• 645 and it ‚â§ 659 or it ‚â• 1845 and it ‚â§ 1859 then
- put temp2 && "—" & temp3 into line 4 of field id 15
- else
- if it ‚â• 700 and it ‚â§ 714 or it ‚â• 1900 and it ‚â§ 1914 or it = 7 then
- put temp2 && "—" & temp3 into line 1 of field id 16
- else
- if it ‚â• 715 and it ‚â§ 729 or it ‚â• 1915 and it ‚â§ 1929 then
- put temp2 && "—" & temp3 into line 2 of field id 16
- else
- if it ‚â• 730 and it ‚â§ 744 or it ‚â• 1930 and it ‚â§ 1944 then
- put temp2 && "—" & temp3 into line 3 of field id 16
- else
- if it ‚â• 745 and it ‚â§ 759 or it ‚â• 1945 and it ‚â§ 1959 then
- put temp2 &&"—" & temp3 into line 4 of field id 16
- else
- if it ‚â• 800 and it ‚â§ 814 or it ‚â• 2000 and it ‚â§ 2014 or it = 8 then
- put temp2 && "—" & temp3 into line 1 of field id 17
- else
- if it ‚â• 815 and it ‚â§ 829 or it ‚â• 2015 and it ‚â§ 2029 then
- put temp2 && "—" & temp3 into line 2 of field id 17
- else
- if it ‚â• 830 and it ‚â§ 844 or it ‚â• 2030 and it ‚â§ 2044 then
- put temp2 && "—" & temp3 into line 3 of field id 17
- else
- if it ‚â• 845 and it ‚â§ 859 or it ‚â• 2045 and it ‚â§ 2059 then
- put temp2 && "—" & temp3 into line 4 of field id 17
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end repeat
- end theSchedule
-
-
-
- on RemShow Meo
- get the date
- convert it to dateItems
- if item 3 of it = 1 or item 3 of it =15 then
- beep 2
- put "Paid your SHAREWARE FEE yet ? If So—THANKS! If No — PLEASE DO"
- wait 5 seconds
- play boing
- hide message box
- end if
- end RemShow
-
-
-
- on openStack
- visual zoom in
- hide menubar
- hide message box
- show field id 25 --Copyright field-DO NOT REMOVE
- update theDate
- RemShow Meo
- end openStack
-
-
-
-
-
-
- </script>
- <background id="2621" file="background_2621.xml" name="Schedule" />
- <background id="3622" file="background_3622.xml" name="AppointmentCard" />
- <card id="3049" file="card_3049.xml" marked="false" name="ApptSchedule" owner="2621" />
- <card id="2289" file="card_2289.xml" marked="false" name="FirstCardOfApptCards" owner="3622" />
- </stack>
-